<#import "../tpl/pageTep.ftl" as page>
<@page.pageBase currentMenu="补卡列表">
<style>
    .button-large {
        font-size: 16px;
    }
    hr {
        border-color: #009688;
    }
</style>
<div class="xm-offline">
    <div class="row">
        <div class="panel">
            <div class="panel-header">
                <a href="${basepath}/manage/retroactive/toOrganizeResignApproveList">返回上一级</a>
            </div>
            <div class="panel-body">
                <form id="approvalForm" class="form-horizontal" action="#">
                    <input type="hidden" class="control-text span-width span10" name="id" value="${e.id!}">
                    <div class="control-group">
                        <label class="control-label">
                            <s>*</s>
                            补卡人：
                        </label>
                        <div class="controls">
                            <input disabled type="text"   class="control-text span-width span5" name="title" value="${e.applicantName!}">
                        </div>
                    </div>
                    <div class="control-group">
                        <label class="control-label">
                            <s>*</s>
                            补卡类型：
                        </label>
                        <div class="controls">
                            <input disabled type="text"   class="signType control-text span-width span5" name="title" value="${e.signType!}">
                        </div>
                    </div>
                    <div class="control-group">
                        <label class="control-label">
                            <s>*</s>
                            补卡活动：
                        </label>
                        <div class="controls">
                            <input disabled type="text"   class="control-text span-width span5" name="title" value="${e.offlineName!}">
                        </div>
                    </div>
                    <div class="control-group" style="height: 200px;">
                        <label class="control-label">
                            <s>*</s>
                            补卡事由：
                        </label>
                        <div class="controls">
                            <textarea disabled type="text"  style="height: 160px;resize: none;"  class="control-text span-width span8" name="title" >${e.description!}</textarea>
                        </div>
                    </div>
                    <div class="control-group">
                        <label class="control-label">
                            <s>*</s>
                            审核状态：
                        </label>
                        <div class="controls">
                            <input disabled type="text"   class="approveStatus control-text span-width span5" name="title" value="${e.status!}">
                        </div>
                    </div>
                </form>
            </div>
        </div>
    </div>
</div>


<script type="text/javascript">
    <#--活动类型-->
    var signType=$('.signType').val();
    var approveStatus=$('.approveStatus').val();
    if(signType=='in'){
        $('.signType').val('签到补卡');
    }else{
        $('.signType').val('签退补卡');
    }
    if(approveStatus=='pass'){
        $('.approveStatus').val('通过')
    }else if(approveStatus=='fail'){
        $('.approveStatus').val('不通过')
    }else{
        $('.approveStatus').val('失效')
    }

</script>

</@page.pageBase>